package com.cssl.openFeign;

import com.cssl.domain.DtsTopic;
import com.cssl.util.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "DtsShopProvider9090",path = "/topic",contextId = "23")
public interface DtsTopicFeignClient {
    @PostMapping("/getTopicById")
    Result getTopicById(@RequestBody Map map);


    @PostMapping("/getTopicNotById")
     Result getTopicNotById(@RequestBody DtsTopic topic);
}
